home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 5 / BBS in a Box -Volume V (BBS in a Box) (April 1992).iso / Files / Word / C / CourierHST < prev    next >
Text File  |  1989-05-13  |  8KB  |  120 lines

  1. This information was written by:
  2.  
  3. Denis A. Paquette, Toronto, Ontario, on May 8, 1989, at 10:12pm.
  4.  
  5. This document was written with a mono-spaced font so that it could be used on non-proportional spaced programs. If you are reading this on a Macintosh, use [Monaco 9].
  6.  
  7. The information below comes with no guarantee, expressed or implied. This information is free and may be distributed around as widely as possible. I have tested the information below with a Macintosh SE/30 using version 6.0.3 software and an USRobotics Courier HST modem. I used ZTerm 0.75 as my communications software. I have tested the modem with this configuration and am very satisfied with the results.
  8.  
  9. I have also tested using this cable on an Apple IIgs with ProTERM using the software protocol, by changing the registers accordingly. Although this works properly, it doesn't supply you any benefit unless you have a comm program that supports the hardware handshaking. My hope, is that all comm programs, like ProTERM, will give you this option in the future. I haven't checked any other comm programs, so there may be some out there that support hardware handshaking and then this information will be of benefit.
  10.  
  11.  
  12. *** Warning ***
  13.  
  14. Although I never exit my comm program without doing a proper ending of a BBS session, with this cable configuration, it is possible to leave the comm program without the modem hanging up. (Dropping DTR). This is because that signal is now being used for RTS. I have never depended on exiting my comm program to hang up the phone, because I always do it from the BBS's program. I don't think that anybody would do this, but I decided to post this warning just in case. In other words, do a proper end of session before exiting the comm program.
  15.  
  16. There is one benefit to not dropping DTR when exiting your program. You can go to the operating system level, perform some function, (ie. pack a file), return to your session that is still in progress and upload the packed file. Again, this shouldn't be a normal habit, (especially if you're paying for the call), but, it can get you out of a bind sometime. (This example will not work in ProTERM due to the Main Menu Window that always comes up, unless you use the null modem driver.)
  17.  
  18.  
  19. My purpose for writing this text file, is to inform people of the fact that hardware handshaking through the Mini DIN 8 serial port on the Apple IIgs and the later Macintosh's is possible with the proper cable configuration. I hope that this information will be useful to everyone.
  20.  
  21.  
  22.  
  23.  
  24. If your comm program supports hardware handshaking and you have constructed the cable described further on in this text file, you may set up the registers as shown below.
  25.  
  26. USRobotics Courier 9600 HST Settings....
  27.  
  28.    C=1  E=1  F=1  M=1  Q=0  V=1  X=7  B=1
  29.    BAUD=19200  PARITY=N  WORDLEN=8
  30.    DIAL=TONE   ON HOOK    TIMER
  31.  
  32.    &A1  &B1  &G0  &H1  &I0  &K1
  33.    &M4  &N0  &P0  &R2  &S0  &Y1
  34.  
  35.    S00=000  S01=000  S02=043  S03=013
  36.    S04=010  S05=008  S06=002  S07=030
  37.    S08=002  S09=006  S10=007  S11=070
  38.    S12=050  S13=000  S14=000  S15=000
  39.    S16=000  S17=000  S18=000  S19=000
  40.    S20=000  S21=010  S22=017  S23=019
  41.  
  42. If your comm program doesn't support hardware handshaking, then you will have to change &B1 to &B0, &H1 to &H2, &R2 to &R1.
  43.  
  44.  
  45. *** Beware *** 
  46.  
  47. Beware of the &I register. I had mine set to &I1 at first and found that my XModem transfers would freeze up part way through. I then decided to test it further by trying &I2. This caused the transfer to freeze sooner. Therefore, I would recommend that you always have it set to &I0 if you intend to use XModem. I did not experience this problem with any other protocol, but that doesn't mean that it can't happen. It just means that I haven't experienced it yet.
  48.  
  49.  
  50.  
  51.  
  52.                 Courier HST 9600
  53.                 DIP switch settings
  54.  
  55.      S1  S2  S3  S4  S5  S6  S7  S8  S9  S10
  56.     _________________________________________
  57.    |      X       X           X           X  | UP (OFF)
  58.    |  X       X       X   X       X   X      |
  59.    |_________________________________________| DOWN (ON)
  60.  
  61.    (S1 is set to ignore DTR.)
  62.    (As you can see, the switch settings are all set to default.)
  63.    (QUAD switch is set to the up position as usual.)
  64.  
  65.  
  66.  
  67.  
  68.  
  69. Below is the cable configuration that I am using.
  70.  
  71.                   Cable Config
  72.  
  73.  Apple IIgs/                           RS/232
  74. Mac Serial Port                      Modem Port
  75. Mini DIN 8 Male                      25 PIN Male
  76.  
  77.    HSKO  1 ------------------------- 4   RTS
  78.    HSKI  2 ------------------------- 5   CTS
  79.    TX    3 ------------------------- 3   TX
  80.    GND   4 ------------------------- 7   GND
  81.    RX    5 ------------------------- 2   RX
  82.                                  --- 6   DSR
  83.                                 |
  84.                                  --- 20  DTR
  85.  
  86. Pin 6 to Pin 20 is not required for the Courier HST, but allows you to use it as a generic cable for any modem. You can then select [Hardware] or [XON/XOFF] handshaking in your terminal programs. Some programs, (like Red Rider for the Mac and ProTERM for the Apple II), do not give you the option of using Hardware handshaking. (At least at the time that I wrote this) If this is the case, don't forget to change the modem registers accordingly.
  87.  
  88. For the Apple IIgs, hopefully Greg Shaefer, who wrote ProTERM, will take notice of this and include hardware handshaking in future versions of his program.
  89.  
  90. I use ZTerm on the Mac and am very pleased with the results. I turned off the [XON/XOFF] options and turned on [HW Handshaking] in the Settings/Flow Control Menu. I set the baud rate to 19.2k. On my SE/30, I am able to keep up with 9600 baud YModem-G transfers with 98%+ efficiency without data compression turned on. (This is the rating at 9600 baud. ZTerm shows it as 49% due to the fact that it is comparing the efficiency at 19.2k. You must remember that you are really communicating at 9600 baud to the bell line and 19.2k from your comm program to the modem.) I have not yet tested it with file compression turned on, but you can expect better results in that mode, if the file you are transferring has not been compressed already. (ie. using a program like StuffIt) I highly recommend using ZTerm. It is well worth the $30 ShareWare fee. I hope that enough people will send David Alverson money to give him incentive on seeing this project to the finish. I also hope that comm programs in general, that don't support hardware handshaking will also take the cue. (Note: For Macintosh users, please refer to the [Flow Control] heading in the ZTerm Doc's.)
  91.  
  92.  
  93.  
  94. Below shows the configuration of a standard Mac/GS modem cable.
  95.  
  96.         Config for stock Mac/GS cables
  97.  
  98.  Apple IIgs/                           RS/232
  99. Mac Serial Port                      Modem Port
  100. Mini DIN 8 Male                      25 PIN Male
  101.  
  102.    HSKO  1 ------------------------- 20  DTR
  103.    HSKI  2 ------------------------- 8   DCD
  104.    TX    3 ------------------------- 3   TX
  105.    GND   4 ------------------------- 7   GND
  106.    RX    5 ------------------------- 2   RX
  107.  
  108.  
  109.  
  110.  
  111. If you want to, you can use the standard Mac/GS modem cable, buy a Jumper Box and make the following jumpers in the box. But, you better make sure that it is the above cable that you have. You must be very cautious when making the jumper box. I found that the pin numbers are backwards on one side of the board and they are correct on the other. I had to compare the pin number on the connector to the number on the board by following the connection. Also, the female side goes to the cable and the male side goes to the modem. If your in doubt, have someone with experience do it. If you have to pay to have it done, it will probably be cheaper to have the proper cable made up instead.
  112.  
  113.         Jumper Pin   2  on cable side to   2  on modem side
  114.         Jumper Pin   3  on cable side to   3  on modem side
  115.         Jumper Pin   7  on cable side to   7  on modem side
  116.         Jumper Pin  20  on cable side to   4  on modem side
  117.         Jumper Pin   8  on cable side to   5  on modem side
  118.         Jumper Pin   6  on modem side to  20  on modem side
  119.  
  120.